#pragma once


#include "HSSecuApi_Utility.h"
#include "HSSecuTradeApi.h"

class TestApiUtility : public ApiUtility
{
public:
    TestApiUtility(){};
    ~TestApiUtility(){};
    void GetFieldPrompt(std::string &fieldPrompt, std::string fieldName) override
    {
    }
    void GetDictInfoByFieldName(std::vector<HsDict> &dictVector, std::string fieldName) override;
    void GetDictInfoByFieldName(std::string &dictPrompt, std::string fieldName, std::string dictValue) override;
    void GetDictInfoByFieldName(std::string &dictPrompt, std::string fieldName, char dictValue) override;
    void GetDictInfoByFieldName(std::string &dictPrompt, std::string fieldName, int dictValue) override;
    void GetDictInfoByFieldName(std::string &dictPrompt, std::string fieldName, double dictValue) override;
    int GetAPIStructFieldName(const char *structName, int index, std::string &FieldName) override;
    int GetAPIStructFieldValueByIndex(const char *structName, void *structAddr, int index, std::string &fieldValue) override;
    int GetAPIStructFieldValueByName(const char *structName, void *structAddr, const char *fieldName, std::string &fieldValue) override;
    int GetAPIStructFieldCounts(const char *structName) override;
};
